package com.meituan.sdk.model.ddzhkh.shangpin.productProductUpdateProductStock;

import javax.validation.constraints.NotBlank;
import com.google.gson.annotations.SerializedName;
import javax.validation.constraints.NotNull;

/**
* <p data-diff-id="ct-diff-id-cb24b5ba-189b-4666-b065-249c9eb13bc1"><span style="color: rgb(31, 45, 61)">SKU分门店库存更新数组（和 stock 有且只有一个） 注：类型为对象类型，详见扩展参数shop_stocks &nbsp;&nbsp;</span></p>
* This file was automatically generated.
*/
public class ShopStock {
    /**
    * <p data-diff-id="ct-diff-id-deb03e30-9102-4781-9ca1-955224c429e2">门店ID</p>
    */
    @NotBlank(message = "opPoiId不能为空")
    @SerializedName("opPoiId")
    private String opPoiId;
    /**
    * <p data-diff-id="ct-diff-id-df13f37c-b028-4e94-be8c-4d3b94f348a9"><span style="color: rgb(31, 45, 61)">更新分门店总库存为，shopStock&nbsp;</span></p>
    */
    @NotNull(message = "stock不能为空")
    @SerializedName("stock")
    private Integer stock;

    public String getOpPoiId() {
        return opPoiId;
    }
    public void setOpPoiId(String opPoiId) {
        this.opPoiId = opPoiId;
    }
    public Integer getStock() {
        return stock;
    }
    public void setStock(Integer stock) {
        this.stock = stock;
    }




    @Override
    public String toString() {
        return "ShopStock{" + "opPoiId=" + opPoiId + "," + "stock=" + stock + "}";
    }
}
